#pragma once
#include "gun.h"
#include "../Player/Player.h"
class CLightningGun :
	public CGun
{
public:
	CLightningGun(void);
	~CLightningGun(void);
	void Shoot();
	void Render();
	void Update(float fElapsedTime);
	void AddRef();
	void Update();
	RECT GetRect();
	virtual void HandleEvent(CEvent* pEvent);

	CPlayer*	GetOwner( void );
	void		SetOwner( CPlayer* p ); 


private:
	CPlayer*	Owner;
	float m_fCooldownShot1;
	float m_fCooldownShot2;
	int m_nEnergyCostShot1;
	int m_nEnergyCostShot2;
};

